package com.itheima.mybatis_plus.service.impl;

import com.itheima.mybatis_plus.dao.ClassesMapper;
import com.itheima.mybatis_plus.entity.Classes;
import com.itheima.mybatis_plus.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ClassesServiceImpl implements ClassesService {

    @Autowired
    private ClassesMapper classesMapper;

    @Override
    public List<Classes> findById() {
        return  classesMapper.findById();
    }
}
